package com.zzyl.nursing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 执行护理任务DTO
 */
@Data
@ApiModel(description = "执行护理任务请求参数")
public class ExecuteTaskDto {

    /** 预计服务时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预计服务时间", width = 30, dateFormat = "yyyy-MM-dd")
    private LocalDateTime estimatedServerTime;

    /** 执行记录 */
    @Excel(name = "执行记录")
    private String mark;

    @Excel(name = "护理任务ID")
    private Long taskId;

    /** 执行图片 */
    @Excel(name = "执行图片")
    private String taskImage;
    /** 实际执行时间 */
    @Excel(name = "实际执行时间")
    private String realServerTime;
}